<%-- 
    Document   : chanxunzhanhsi
    Created on : 2019-5-22, 16:23:53
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList,pet.PetinfoBean"%>
<%--<%@page import="pet.PetinfoBean"%>--%>
<%@page import="owners.OwnersBean"%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>宠物资料录入</title>
		<meta charset="utf-8">
		<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
		<link rel="stylesheet" href="css/layout.css" type="text/css" media="all">
		<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
		<script type="text/javascript" src="js/jquery-1.6.js" ></script>
		<script type="text/javascript" src="js/cufon-yui.js"></script>
		<script type="text/javascript" src="js/cufon-replace.js"></script>  
  		<script type="text/javascript" src="js/Adamina_400.font.js"></script>
		<script type="text/javascript" src="js/jquery.jqtransform.js" ></script>
		<script type="text/javascript" src="js/script.js" ></script>
		<script type="text/javascript" src="js/atooltip.jquery.js"></script>
		<!--[if lt IE 9]>
			<script type="text/javascript" src="js/html5.js"></script>
			<link rel="stylesheet" href="css/ie.css" type="text/css" media="all">
		<![endif]-->
		<!--[if lt IE 7]>
			<div style=' clear: both; text-align:center; position: relative;'>
				<a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode"><img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." /></a>
			</div>
		<![endif]-->
	</head>
	<body id="page5">
		<div class="bg1">
			<div class="bg2">
				<div class="main">
<!-- header -->
					<header>
						<h1><a href="../main/main/index.html" id="logo"></a></h1>
						<div class="department">
							河南省郑州市高新区,科学大道, 136号<br>
							<span>联系电话: &nbsp;  +66666666</span>
						</div>
					</header>
					<div class="box"><div class="ic">Welcome to Pet clinic management platform @ pb.qq.com - May 23, 2019!</div>
						<nav>
							<ul id="menu">
								<li><a href="index.jsp">Home</a></li>
								<li><a href="Services.jsp">Services</a></li>
								<li><a href="Booking.jsp">Booking</a></li>
								<li><a href="Rooms.jsp">Veterinary</a></li>
                                                                <li class="active"><a href="Locations.jsp">&nbsp;&nbsp;&nbsp;Pet&nbsp;&nbsp;&nbsp;</a></li>
							</ul>
						</nav>
<!-- header end -->



<!-- content -->
						<article id="content">
							<div class="box1">
								<div class="wrapper">
							<form action="vetinfor.jsp" method="post" id="form1">
                                                            <h2>Pet Information</h2>
        <table border="2" cellspacing="0" cellpadding="0" bgcolor="#95BDFF" align="center">
            <%
                ArrayList petlist=(ArrayList)session.getAttribute("petlist");
                if(petlist==null||petlist.size()==0){
                    response.sendRedirect("http://localhost:8084/jspsx/pets/querypet.jsp");
                }else{
                    for(int i=petlist.size()-1;i>=0;i--){
                        PetinfoBean mm=(PetinfoBean)petlist.get(i);
                       
            %>
                        <tr>
                            <td height="30px" width="150px">宠物姓名</td>
                            <td height="30px" width="150px"><%=mm.getPetname()%></td>
                           
                        </tr>
                                                <tr>
                            <td height="30px" width="150px">宠物性别</td>
                            <td height="30px" width="150px">雌性</td>
                           
                        </tr>
                        <tr>
                            <td height="30px" width="150px">出生日期</td>
                            <td height="30px" width="150px"><%=mm.getBirthdate()%></td>                           
                        </tr>
                        <tr>
                            <td height="30px" width="150px">宠物品种</td>
                            <td height="30px" width="150px"><%=mm.getType()%></td>                           
                       </tr>
                       <tr>
                            <td height="34px" width="150px">宠物备注</td>
                            <td height="34px" width="150px">哺乳期</td>                           
                       </tr>
                       
                       
                       
                       
                       
                       
                       
                       
                       
                       
                       
                       
                       
                       
                       
  <!--                       <tr>
                            <td height="30px" width="150px">主人ID</td>
                            <td height="30px" width="150px"><%=mm.getOwnerid()%></td>                           
                        </tr>
                        <tr>
                            <td colspan="2" height="30px" align="center"><input id="submit" type="submit" name="submit" value="重新查询" size="15"></td>
                        </tr>
                        -->
                  <%
                    }
                 }
                  %>
        </table>
        </form>
									<div class="col2 pad">
										<h2><img src="images/title_marker1.jpg" alt="">Owner Information</h2>
										<form id="ContactForm" action="../ModifyOwnersServlet" method="post" >

									
        <h2 align="center">宠物基本信息表</h2>
<!--        <form action="../ModifyOwnersServlet" method="post">-->
        <table border="2" cellspacing="0" cellpadding="0" bgcolor="#95BDFF" align="center">
             <%
                ArrayList ownerlist=(ArrayList)session.getAttribute("ownerlist");
                if(ownerlist==null||ownerlist.size()==0){
                    response.sendRedirect("http://localhost:8084/jspsxxxx/luru/chaxun.jsp");
                }else{
                    for(int i=ownerlist.size()-1;i>=0;i--){
                        OwnersBean mm=(OwnersBean)ownerlist.get(i);
                       
            %>

                        <tr>
                            <td height="30px" width="150px">主人姓名</td>
                            <td height="30px" width="150px" ><%=mm.getOname()%></td>                           
                        </tr>
                        <tr>
                            <td height="30px" width="150px">宠物姓名</td>
                            <td height="30px" width="150px"><input name="petname" type="text" value="<%=mm.getPetname()%>"></td>
                           
                        </tr>
                        <tr>
                            <td height="30px" width="150px">地址</td>
                            <td height="30px" width="150px"><input name="address" type="text" value="<%=mm.getAddress()%>"></td>                           
                        </tr>
                        <tr>
                            <td height="30px" width="150px">城市</td>
                            <td height="30px" width="150px"><input name="city" type="text" value="<%=mm.getCity()%>"></td>                           
                        </tr>
                        <tr>
                            <td height="30px" width="150px">电话</td>
                            <td height="30px" width="150px"><input name="telephone" type="text" value="<%=mm.getTelephone()%>"></td>                           
                        </tr>
                        <tr>
                            <td colspan="2" height="30px" align="center"><input id="submit" type="submit" name="submit" value="修改" size="15"><a  class="cl2" href="chaxun.jsp">重新查询</a></td>
<!--                            <td colspan="2" height="30px" align="center"><a  href="queryowner.jsp">重新查询</a></td>-->
                        </tr>
                          <%
                    }
                 }
                  %>
              
        </table>
        </form>
											
                             
									</div>
								</div>
								
							</div>
							<div class="pad">
								<h2>Our Contacts</h2>
								<div class="line2"><div class="wrapper line3">
									<div class="col1">
										<p class="pad_bot1"><strong class="color2">USA</strong></p>
										<p class="pad_bot1">8901 Marmora Road, Glasgow, D04</p>
										<p class="cols">
												Freephone:<br>
												Telephone:<br>
												Fax:<br>
												Email:</p>
										+1 800 559 6580<br>
										+1 800 603 6035<br>
										+1 800 889 9898<br>
										<a href="mailto:" class="color1">mail@******.org</a>
									</div>
									<div class="col1 pad_left1">
										<p class="pad_bot1"><strong class="color2">Canada</strong></p>
										<p class="pad_bot1">8901 Marmora Road, Glasgow, D04</p>
										<p class="cols">
												Freephone:<br>
												Telephone:<br>
												Fax:<br>
												Email:</p>
										+1 800 559 6580<br>
										+1 800 603 6035<br>
										+1 800 889 9898<br>
										<a href="mailto:" class="color1">mail@******.org</a>
									</div>
									<div class="col1 pad_left1">
										<p class="pad_bot1"><strong class="color2">Mexico</strong></p>
										<p class="pad_bot1">8901 Marmora Road, Glasgow, D04</p>
										<p class="cols">
												Freephone:<br>
												Telephone:<br>
												Fax:<br>
												Email:</p>
										+1 800 559 6580<br>
										+1 800 603 6035<br>
										+1 800 889 9898<br>
										<a href="mailto:" class="color1">mail@******.org</a>
									</div>
								</div></div>
							</div>
						</article>
<!--content end-->
					</div>
				</div>
			</div>
		</div>
		<div class="main">
<!-- footer -->
			<footer>
				<div class="col2">
					Lounge Clinic &copy; 2019 <a rel="nofollow" href="" target="_blank">Website Template</a> by pb.qq.com
					<nav>
						<ul id="footer_menu">
							<li><a href="index.jsp">Home page</a></li>
							<li><a href="Services.jsp">Services</a></li>
							<li><a href="Booking.jsp">Booking</a></li>
							<li><a href="Services.jsp">Veterinary</a></li>
							<li class="last active"><a href="Locations.jsp">Pet</a></li>
						</ul>
					</nav>
				</div>
				<div class="col1 pad_left1">
					<ul id="icons">
						<li><a href="#" class="normaltip" title="Linkedin"><img src="images/icon1.jpg" alt=""></a></li>
						<li><a href="#" class="normaltip" title="Facebook"><img src="images/icon2.jpg" alt=""></a></li>
						<li><a href="#" class="normaltip" title="Picasa"><img src="images/icon3.jpg" alt=""></a></li>
						<li><a href="#" class="normaltip" title="Twitter"><img src="images/icon4.jpg" alt=""></a></li>
					</ul>
				</div>				
				<!-- {%FOOTER_LINK} -->
			</footer>
<!-- footer end -->
		</div>
		<script type="text/javascript"> Cufon.now(); </script>
	</body>
</html> 
